package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加品类请求model")
public class AddCategoryReq {

    @NotNull
    @ApiModelProperty("id")
    private String id;

    @NotNull
    @ApiModelProperty("品类名称")
    private String categoryName;

    @ApiModelProperty("排序")
    private Integer sort;

    @NotNull
    @ApiModelProperty("描述")
    private String categoryDescription;
}